﻿@model DenderaMvcWeb.Models.macchina

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>macchina</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.id_macchina)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.id_macchina)
            @Html.ValidationMessageFor(model => model.id_macchina)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.label)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.label)
            @Html.ValidationMessageFor(model => model.label)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.modello)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.modello)
            @Html.ValidationMessageFor(model => model.modello)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.tot_cadute)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.tot_cadute)
            @Html.ValidationMessageFor(model => model.tot_cadute)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.num_aghi)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.num_aghi)
            @Html.ValidationMessageFor(model => model.num_aghi)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.altre_caratteristiche)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.altre_caratteristiche)
            @Html.ValidationMessageFor(model => model.altre_caratteristiche)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.note)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.note)
            @Html.ValidationMessageFor(model => model.note)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.stima_cosumo)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.stima_cosumo)
            @Html.ValidationMessageFor(model => model.stima_cosumo)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.data_acquisto)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.data_acquisto)
            @Html.ValidationMessageFor(model => model.data_acquisto)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.trinagoli)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.trinagoli)
            @Html.ValidationMessageFor(model => model.trinagoli)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.calice)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.calice)
            @Html.ValidationMessageFor(model => model.calice)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.riga_matrice)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.riga_matrice)
            @Html.ValidationMessageFor(model => model.riga_matrice)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.colonna_matrice)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.colonna_matrice)
            @Html.ValidationMessageFor(model => model.colonna_matrice)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.macchina_eliminata)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.macchina_eliminata)
            @Html.ValidationMessageFor(model => model.macchina_eliminata)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
